package com.brainhealth.common.enums;

/**
 * 积分类型枚举
 * @author wll
 */
public enum ScoreTypeEnum {
    COMPLETED_TRAIN(0, 10, "完成每日任务奖励"),
    CONTINUE_3_DAYS_COMPLETED_TRAIN(1, 30, "完成铁人挑战奖励"),
    INVITED(2, 30, "邀请好友奖励"),
    RECHARGE(3, 0, "积分充值"),
    NEW_USER_GIFT(4, 50, "陪伴小屋新用户奖励");

    private final int code;
    private final int score;
    private final String info;

    ScoreTypeEnum(int code, int score, String info) {
        this.code = code;
        this.score = score;
        this.info = info;
    }

    public int getCode() {
        return code;
    }

    public int getScore() {
        return score;
    }

    public String getInfo() {
        return info;
    }
}
